package data.type{
	/**
	 * npc功能类型
	 * wuxi create on 2012-10-25 11:23:55
	 */
	public class NpcFunctionType {
		/**
		 * 副本
		 */
		public static const DUPLICATE:int = 1;
		/**
		 * 任务
		 */
		public static const TASK:int = 2;
		/**
		 * 修理
		 */
		public static const REPAIRE:int = 3;
		/**
		 * 售卖
		 */
		public static const SELL:int = 4;
		/**
		 * 帮派
		 */
		public static const FACTION:int = 5;
		
		
		public static function getFunctionName(type:int):String{
			switch(type){
				case DUPLICATE: return "副本";
				case TASK: return "人物";
				case REPAIRE: return "修理";
				case SELL: return "售卖";
				case FACTION: return "帮派";
			}
			return "仅站立";
		}
		
	}
}
